package com.happy3w.java.ext;

import lombok.*;

import java.io.File;
import java.util.Comparator;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EnumFileOption {
    public static final EnumFileOption DEFAULT = EnumFileOption.builder()
            .acceptFile(true)
            .acceptDir(false)
            .fileComparator(null)
            .build();

    private boolean acceptFile;
    private boolean acceptDir;
    private Comparator<File> fileComparator;
}
